.class Lcom/youdao/note/activity/SearchActivity$SearchAdapter$1;
.super Ljava/lang/Object;
.source "SearchActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/youdao/note/activity/SearchActivity$SearchAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/youdao/note/activity/SearchActivity$SearchAdapter;

.field final synthetic val$position:I


# direct methods
.method constructor <init>(Lcom/youdao/note/activity/SearchActivity$SearchAdapter;I)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 469
    iput-object p1, p0, Lcom/youdao/note/activity/SearchActivity$SearchAdapter$1;->this$1:Lcom/youdao/note/activity/SearchActivity$SearchAdapter;

    iput p2, p0, Lcom/youdao/note/activity/SearchActivity$SearchAdapter$1;->val$position:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3
    .parameter "v"

    .prologue
    .line 472
    iget-object v0, p0, Lcom/youdao/note/activity/SearchActivity$SearchAdapter$1;->this$1:Lcom/youdao/note/activity/SearchActivity$SearchAdapter;

    iget-object v1, v0, Lcom/youdao/note/activity/SearchActivity$SearchAdapter;->this$0:Lcom/youdao/note/activity/SearchActivity;

    iget-object v0, p0, Lcom/youdao/note/activity/SearchActivity$SearchAdapter$1;->this$1:Lcom/youdao/note/activity/SearchActivity$SearchAdapter;

    iget v2, p0, Lcom/youdao/note/activity/SearchActivity$SearchAdapter$1;->val$position:I

    invoke-virtual {v0, v2}, Lcom/youdao/note/activity/SearchActivity$SearchAdapter;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    #setter for: Lcom/youdao/note/activity/SearchActivity;->mKeyWord:Ljava/lang/String;
    invoke-static {v1, v0}, Lcom/youdao/note/activity/SearchActivity;->access$002(Lcom/youdao/note/activity/SearchActivity;Ljava/lang/String;)Ljava/lang/String;

    .line 473
    iget-object v0, p0, Lcom/youdao/note/activity/SearchActivity$SearchAdapter$1;->this$1:Lcom/youdao/note/activity/SearchActivity$SearchAdapter;

    iget-object v0, v0, Lcom/youdao/note/activity/SearchActivity$SearchAdapter;->this$0:Lcom/youdao/note/activity/SearchActivity;

    #getter for: Lcom/youdao/note/activity/SearchActivity;->mTextView:Landroid/widget/AutoCompleteTextView;
    invoke-static {v0}, Lcom/youdao/note/activity/SearchActivity;->access$100(Lcom/youdao/note/activity/SearchActivity;)Landroid/widget/AutoCompleteTextView;

    move-result-object v0

    iget-object v1, p0, Lcom/youdao/note/activity/SearchActivity$SearchAdapter$1;->this$1:Lcom/youdao/note/activity/SearchActivity$SearchAdapter;

    iget-object v1, v1, Lcom/youdao/note/activity/SearchActivity$SearchAdapter;->this$0:Lcom/youdao/note/activity/SearchActivity;

    #getter for: Lcom/youdao/note/activity/SearchActivity;->mKeyWord:Ljava/lang/String;
    invoke-static {v1}, Lcom/youdao/note/activity/SearchActivity;->access$000(Lcom/youdao/note/activity/SearchActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/AutoCompleteTextView;->setText(Ljava/lang/CharSequence;)V

    .line 474
    iget-object v0, p0, Lcom/youdao/note/activity/SearchActivity$SearchAdapter$1;->this$1:Lcom/youdao/note/activity/SearchActivity$SearchAdapter;

    iget-object v0, v0, Lcom/youdao/note/activity/SearchActivity$SearchAdapter;->this$0:Lcom/youdao/note/activity/SearchActivity;

    #calls: Lcom/youdao/note/activity/SearchActivity;->performSearch()V
    invoke-static {v0}, Lcom/youdao/note/activity/SearchActivity;->access$200(Lcom/youdao/note/activity/SearchActivity;)V

    .line 475
    return-void
.end method
